//
//  YDVerticalStockTimeLineView.h
//  PeiZiWangBei
//
//  Created by LK-IOS on 2018/1/7.
//  Copyright © 2018年 LK-IOS. All rights reserved.
//

#import "StockBaseView.h"
#import "StockTimeLineModel.h"


typedef NS_ENUM(NSUInteger, SYVerticalStockTimeLineViewGestureState) {
    GestureStateActivity,//0   deafault
    GestureStateEnd,//1
};


@protocol SYVerticalStockTimeLineViewDelegate <NSObject>


@optional


-(void)verticalStockTimeLineViewGestureState:(SYVerticalStockTimeLineViewGestureState)gestureState;

@end

@interface YDVerticalStockTimeLineView : StockBaseView

/**
 构造器
 */
-(instancetype)initWithTimeLineModels:(NSArray<__kindof StockTimeLineModel *> *)timeLineModels;

/**
 重绘视图
 @param timeLineModels  分时图数据源
 */
- (void)reDrawWithTimeLineModels:(NSArray<__kindof StockTimeLineModel*>*)timeLineModels;


@property (nonatomic , weak)id<SYVerticalStockTimeLineViewDelegate>delegate;

@end
